package com.woniu.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.woniu.entity.CreProduct;
import com.woniu.entity.RepayEntity;

import java.util.List;

public interface CreditProductService {

    List<CreProduct> findAllProduct(CreProduct creProduct);

    int addProducts(CreProduct creProduct);

    CreProduct findProductsById(int id);

    int updateProducts(CreProduct creProduct);

    int delProducts(int[] ids);

    List<CreProduct> searchProduct(CreProduct creProduct);

    Integer editOneType(String enableStatus, Integer id);

    List<CreProduct> anonymousFindAll(CreProduct creProduct);

    /**
     * 2022-9-29 17:21:24
     * 还款测算
     *
     * @param repayEntity
     * @return
     */
    AjaxResult getMoney(RepayEntity repayEntity);
}
